package com.demo.listener;

import javax.servlet.ServletRequestEvent;
import javax.servlet.ServletRequestListener;

/**
 * @author WuLiangHang
 */
public class MyServletRequestListener implements ServletRequestListener {

    @Override
    public void requestDestroyed(ServletRequestEvent sre) {
        System.out.println("销毁ServletRequest对象");
    }

    @Override
    public void requestInitialized(ServletRequestEvent sre) {
        System.out.println("创建ServletRequest对象");
    }
}
